package com.markpim.dena.opdracht4;


public class GraphEdge {

	private int weight;
	private GraphVertex vertexTo;
	private GraphVertex vertexFrom;

	public GraphEdge(int weight, GraphVertex vertexFrom, GraphVertex vertexTo) {
		this.weight = weight;
		this.vertexFrom = vertexFrom;
		this.vertexTo = vertexTo;
	}

	public int getWeight() {
		return weight;
	}

	public GraphVertex getVertexTo() {
		return vertexTo;
	}
	
	public GraphVertex getVertexFrom() {
		return vertexFrom;
	}

}